// 本地打包调试用，不用那么多组件，加快调试速度
import '@/plugins/v14s';
import '@/common/index_logic.js';

// 组件注册列表
import UniaxialLine from './uniaxial-line/index';

// 组件配置页面
import ConfigUniaxialLine from './uniaxial-line/config/config-panel';

const visualComponents = {
  [`${process.env.xvueNameSpace_}uniaxial_line`]: UniaxialLine,
};
const config = {
  [`config_${process.env.xvueNameSpace_}uniaxial_line`]: ConfigUniaxialLine,
};

import stores from '@/store/index.js';

window[[`_${process.env.xvueNameSpace}`]] = {};
window[[`_${process.env.xvueNameSpace}`]].componets = visualComponents;
window[[`_${process.env.xvueNameSpace}`]].stores = { ...stores };
window[[`_${process.env.xvueNameSpace}`]].configs = config;

export default visualComponents;
